import request from '@/utils/request'

// 获取评分标准列表
export function getScoringStandardList(params) {
  return request({
    url: '/scoring-standard/list',
    method: 'get',
    params
  })
}

// 添加评分标准
export function addScoringStandard(data) {
  return request({
    url: '/scoring-standard/add',
    method: 'post',
    data
  })
}

// 更新评分标准
export function updateScoringStandard(data) {
  return request({
    url: '/scoring-standard/update',
    method: 'put',
    data
  })
}

// 删除评分标准
export function deleteScoringStandard(standardId) {
  return request({
    url: `/scoring-standard/delete/${standardId}`,
    method: 'delete'
  })
}